/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.cib.fintech.entrustedinvestment.biz.service.dto;

import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
* @website https://el-admin.vip
* @description /
* @author zhangqingkun
* @date 2020-10-16
**/
@Data
public class TenantDto implements Serializable {

    /** id */
    /** 防止精度丢失 */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    /** 租户名称 */
    private String name;

    /** 租户id */
    private String tenId;

    /** 平台RSA公钥 */
    private String rsaPub;

    /** 平台RSA私钥 */
    private String rsaPri;

    /** 租户RSA公钥 */
    private String tenRsaPub;

    /** 租户异步通知地址1 */
    private String returnUrl1;

    /** 租户异步通知地址2 */
    private String returnUrl2;

    /** 租户异步通知地址3 */
    private String returnUrl3;

    /** 租户异步通知地址4 */
    private String returnUrl4;

    /** 租户异步通知地址5 */
    private String returnUrl5;

    /** 备注 */
    private String remark;

    /** 租户状态0无效1有效 */
    private Integer status;

    /** 创建时间 */
    private Timestamp createTime;

    /** 创建人 */
    private String createBy;

    /** 更新时间 */
    private Timestamp updateTime;

    /** 跟新人 */
    private String updateBy;
}